%% Verify
clc
datavelox = velox(1:2076);
angle = angle(1:2076);
dataveloy = veloloady(2,:)';

%Save = figure('Color',[1 1 1]);
plot(tid,datavelox,tid,dataveloy,tid,angle)
angleref = refline([0 -0.079]);
overshootxref = refline([0 0.84]);
settlexref = refline([0 0.76]);
overshootyref = refline([0 0.21]);
settleyref = refline([0 0.19]);
set(angleref,'Color','c','LineStyle','--');
set(overshootxref,'Color','c','LineStyle','--');
set(settlexref,'Color','c','LineStyle','--');
set(overshootyref,'Color','c','LineStyle','--');
set(settleyref,'Color','c','LineStyle','--');
grid;
axis([0 6 -0.1 0.9]);
xlabel('Tid [s]');
ylabel('Hastighed [m/s] / Vinkel [rad]');
legend('Lastens x-hastighed','Lastens y-hastighed','Vinkel','Krav');
set(legend,'Position',[0.63,0.57,0.1,0.1]);
set(gcf,'PaperUnits','inches','PaperPosition',[0 +2 10 5]);
%print(Save,'-depsc','verify');